<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 标题 -->
    <title>index</title>
    <style>
        li{
            list-style: none;
        }

        a{
            text-decoration: none;
            color: black;
        }

        .u1>li{
            float: left;
            margin-left: 50px;
        }
    </style>
</head>
<body>
    <ul class="u1">
        <li><a href="#">奶茶</a></li>
        <li><a href="#">果茶</a></li>
        <li><a href="#">咖啡</a>
            <ul>
                <li><a href="#">美式咖啡</a></li>
                <li><a href="#">拿铁咖啡</a></li>
                <li><a href="#">摩卡咖啡</a></li>
            </ul>
        </li>
    </ul>
</body>
</html>    